package com.ylyq.ylxx.entity;

import java.time.LocalDateTime;

import com.ylyq.ylxx.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author xiaweichao
 * @since 2020-09-01
 */
@Data
@ApiModel(value = "YlyqBudget对象", description = "")
public class YlyqBudget extends BaseEntity {

    @ApiModelProperty(value = "广告主id")
    @TableField("advertise_id")
    private Long advertiseId;

    @ApiModelProperty(value = "用户id，在定时任务里会用到")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty(value = "日预算类型，详见【附录-预算类型】允许值: \"BUDGET_MODE_INFINITE\"为不限, \"BUDGET_MODE_DAY\"为日预算")
    @TableField("budget_mode_day")
    private String budgetModeDay;

    @ApiModelProperty(value = "周预算类型，详见【附录-预算类型】允许值: \"BUDGET_MODE_INFINITE\"为不限, \"BUDGET_MODE_DAY\"为日预算")
    @TableField("budget_mode_week")
    private String budgetModeWeek;

    @ApiModelProperty(value = "总预算类型，详见【附录-预算类型】允许值: \"BUDGET_MODE_INFINITE\"为不限, \"BUDGET_MODE_DAY\"为日预算")
    @TableField("budget_mode_total")
    private String budgetModeTotal;

    @ApiModelProperty(value = "日预算")
    @TableField("budget_day")
    private Double budgetDay;

    @ApiModelProperty(value = "周预算")
    @TableField("budget_week")
    private Double budgetWeek;

    @ApiModelProperty(value = "总预算")
    @TableField("budget_total")
    private Double budgetTotal;

}
